[INFO] cloning repository https://github.com/Kartik-Saini77/Debugger
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kartik-Saini77/Debugger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKartik-Saini77%2FDebugger", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKartik-Saini77%2FDebugger'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f0a67603ea0fe99ce125ba8ae91ca83287556651
[INFO] fixing Kartik-Saini77/Debugger against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKartik-Saini77%2FDebugger" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Kartik-Saini77/Debugger
[INFO] finished tweaking git repo https://github.com/Kartik-Saini77/Debugger
[INFO] tweaked toml for git repo https://github.com/Kartik-Saini77/Debugger written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kartik-Saini77/Debugger on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kartik-Saini77/Debugger already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fd-lock v4.0.4
[INFO] [stderr]   Downloaded endian-type v0.1.2
[INFO] [stderr]   Downloaded nibble_vec v0.1.0
[INFO] [stderr]   Downloaded rustyline v17.0.2
[INFO] [stderr]   Downloaded clipboard-win v5.4.1
[INFO] [stderr]   Downloaded radix_trie v0.2.1
[INFO] [stderr]   Downloaded rustix v1.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3727c4acbe05d71ea4bf505d5ebe091b7d1c7f7e191e1dca955e8b6d51b92f43
[INFO] running `Command { std: "docker" "start" "3727c4acbe05d71ea4bf505d5ebe091b7d1c7f7e191e1dca955e8b6d51b92f43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3727c4acbe05d71ea4bf505d5ebe091b7d1c7f7e191e1dca955e8b6d51b92f43" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3727c4acbe05d71ea4bf505d5ebe091b7d1c7f7e191e1dca955e8b6d51b92f43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3727c4acbe05d71ea4bf505d5ebe091b7d1c7f7e191e1dca955e8b6d51b92f43" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking home v0.5.12
[INFO] [stderr]     Checking unicode-width v0.2.2
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]     Checking fd-lock v4.0.4
[INFO] [stderr]     Checking rustyline v17.0.2
[INFO] [stderr]     Checking debugger v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/debug/process.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nix::{sys::ptrace::{self, attach}, unistd::Pid};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `attach` is private
[INFO] [stdout]   --> src/utils/attach.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Process::attach(&args[2])
[INFO] [stdout]    |                  ^^^^^^ private associated function
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/debug/process.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn attach(pid_arg: &str) -> Result<Process, String> {
[INFO] [stdout]    |     --------------------------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/debug/process.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nix::{sys::ptrace::{self, attach}, unistd::Pid};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `attach` is private
[INFO] [stdout]   --> src/utils/attach.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Process::attach(&args[2])
[INFO] [stdout]    |                  ^^^^^^ private associated function
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/debug/process.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn attach(pid_arg: &str) -> Result<Process, String> {
[INFO] [stdout]    |     --------------------------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils/attach.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | /     if args.len() == 3 && args[1] == "-p" {
[INFO] [stdout]  9 | |         //  -p target_pid
[INFO] [stdout] 10 | |         Process::attach(&args[2])
[INFO] [stdout]    | |         ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<Process, String>`
[INFO] [stdout] 11 | |     } else {
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |     }
[INFO] [stdout]    | |_____- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<Process, String>`
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Process::attach(&args[2]);
[INFO] [stdout]    |                                  +
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]    |
[INFO] [stdout] 10 |         return Process::attach(&args[2]);
[INFO] [stdout]    |         ++++++                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils/attach.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 17 | /             match fork_res {
[INFO] [stdout] 18 | |                 Ok(ForkResult::Parent { child }) => {
[INFO] [stdout] 19 | |                     let pid = child.as_raw();
[INFO] [stdout] 20 | |                     Ok(pid)
[INFO] [stdout]    | |                     ^^^^^^^ expected `()`, found `Result<i32, _>`
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | |                 Err(e) => Err(format!("Fork failed: {}", e)),
[INFO] [stdout] 37 | |             }
[INFO] [stdout]    | |_____________- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<i32, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils/attach.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn attach(args: Vec<String>) -> Result<Process, String> {
[INFO] [stdout]    |                                     ----------------------- expected `Result<Process, String>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 40 |     ()
[INFO] [stdout]    |     ^^ expected `Result<Process, String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Process, String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 40 ~     ();
[INFO] [stdout] 41 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `debugger` (lib) due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils/attach.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | /     if args.len() == 3 && args[1] == "-p" {
[INFO] [stdout]  9 | |         //  -p target_pid
[INFO] [stdout] 10 | |         Process::attach(&args[2])
[INFO] [stdout]    | |         ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<Process, String>`
[INFO] [stdout] 11 | |     } else {
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |     }
[INFO] [stdout]    | |_____- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<Process, String>`
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Process::attach(&args[2]);
[INFO] [stdout]    |                                  +
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]    |
[INFO] [stdout] 10 |         return Process::attach(&args[2]);
[INFO] [stdout]    |         ++++++                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils/attach.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 17 | /             match fork_res {
[INFO] [stdout] 18 | |                 Ok(ForkResult::Parent { child }) => {
[INFO] [stdout] 19 | |                     let pid = child.as_raw();
[INFO] [stdout] 20 | |                     Ok(pid)
[INFO] [stdout]    | |                     ^^^^^^^ expected `()`, found `Result<i32, _>`
[INFO] [stdout] ...  |
[INFO] [stdout] 36 | |                 Err(e) => Err(format!("Fork failed: {}", e)),
[INFO] [stdout] 37 | |             }
[INFO] [stdout]    | |_____________- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<i32, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils/attach.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn attach(args: Vec<String>) -> Result<Process, String> {
[INFO] [stdout]    |                                     ----------------------- expected `Result<Process, String>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 40 |     ()
[INFO] [stdout]    |     ^^ expected `Result<Process, String>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Process, String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 40 ~     ();
[INFO] [stdout] 41 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `debugger` (lib test) due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3727c4acbe05d71ea4bf505d5ebe091b7d1c7f7e191e1dca955e8b6d51b92f43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3727c4acbe05d71ea4bf505d5ebe091b7d1c7f7e191e1dca955e8b6d51b92f43", kill_on_drop: false }`
[INFO] [stdout] 3727c4acbe05d71ea4bf505d5ebe091b7d1c7f7e191e1dca955e8b6d51b92f43
